<div id="main_form">
<h3><span class="color_green">Results</span></h3>
<fieldset>
	<table cellpadding="0" cellspacing="2" border="0" width="100%">
		<tr>
			<td align="left" width="8%">User ID</td>
			<td align="left" width="1%">:</td>
			<td align="left"><strong><?php echo (isset($user_id))?$user_id:0; ?></strong></td>
		</tr>
		
		<tr>
			<td align="left">User</td>
			<td align="left">:</td>
			<td align="left"><strong><?php echo (isset($user_login))?$user_login:DEFAULT_VARIABLE_VALUE; ?></strong></td>
		</tr>
		<tr>
			<td align="left">Your Score</td>
			<td align="left">:</td>
			<td align="left"><strong><?php echo (isset($total_score))?$total_score:0; ?>%</strong></td>
		</tr>
		<tr>
			<td align="left">Total Time</td>
			<td align="left">:</td>
			<td align="left"><strong><?php echo (isset($total_time_taken))?$total_time_taken:0; ?></strong></td>
		</tr>
		
		<tr>
			<td align="left">Grade</td>
			<td align="left">:</td>
			<td align="left"><strong><?php echo (isset($total_score))?check_grade($total_score):DEFAULT_VARIABLE_VALUE; ?></strong></td>
		</tr>		
	</table>
</fieldset>
<br /><br />
<p><a href="<?php echo site_url('/questions'); ?>">Click here to give the test again!! All the best.</a></p>
</div>
